TR 11 / 0 6 Request and Assert : A pragmatic approach to generating specialization scenarios

نویسندگان

  • Ping ZHU
  • Siau-Cheng KHOO
چکیده

A specialization scenario provides a programmer friendly mechanism communicating the information about specialization opportunities to partial evaluators. Unfortunately, the process of generating suitable scenarios remains an art only mastered by programmers with in-depth knowledge about partial evaluation. Existing works on generating scenarios either rely on a brute-force approach to generate all possible scenarios, or to introduce specific design patterns into the programming to facilitate extracting specialization scenarios. In this paper, we provide a lightweight approach to partial evaluation by enabling non-experts to declare two simple specialization concerns: request and assert. The request enables a programmer to declare specialization opportunities and an assert aims to prevent undesirable partial evaluation, such as infinite specialization, from occurring. We describe an algorithm that derives specialization scenarios by declaring the necessary binding-time values at program inputs, aiming at fulfilling any request and satisfy the assert meanwhile.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Stage specialization for design and analysis of flotation circuits

This paper presents a new approach for flotation circuit design. Initially, it was proven numerically and analytically that in order to achieve the highest recovery in different circuit configurations, the best equipment must be placed at the beginning stage of the flotation circuits. The size of the entering particles and the types of streams including pulp and froth were considered as the bas...

متن کامل

A Pragmatic Study of Speech Acts by Iranian and Spanish Nonnative English Learners

This study was an attempt to investigate Iranian and Spanish intermediate nonnative English learners’ request strategies to their faculty. To this aim, 74 (50 Iranian and 24 Spanish) nonnative English intermediate learners participated in this study. A discourse completion test (DCT) was used to elicit the request strategies used by the participants. The findings suggested the participants empl...

متن کامل

Pragmatic Awareness of the Request Speech Act in English as an Additional Language: Monolinguals or Bilinguals?

This study attempted to investigate the effect of bilingualism on pragmaticawareness and development among Iranian Turkish/Persian EFL learners. Data werecollected through a personal profile questionnaire with questions about theparticipants’ language background and a WDCT with 10 situations to determine theextent to which the bilinguals demonstrated their pragmatic awareness of requests.They w...

متن کامل

Pragmatic comprehension of apology, request and refusal: An investigation on the effect of consciousness-raising video-driven prompts

Recent  research  in  interlanguage  pragmatics  (ILP)  has  substantiated  that  some  aspects  of pragmatics are amenable to instruction in the second or foreign language classroom. However, there  are  still  controversies  over  the  most  conducive  teaching  approaches  and  the  required materials.  Therefore,  this  study  aims  to  investigate  the  relative  effectiveness  of  conscio...

متن کامل

A Pragmatic Study of Requestive Speech Act by Iranian EFL Learners and Canadian Native Speakers in Hotels

This study was an attempt to shed light on the use of requestive speech act by Iranian nonnative speakers (NNSs) of English and Canadian native speakers (NSs) of English to find out the (possible) similarities and/or differences between the request realizations, and to investigate the influence of the situational variables of power, distance, context familiarity, and L1’s (possible) influence. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006